package com.woniuxy.entity;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;


/*
@author Jan
@create 2020-06-01 11:52

*/ 
   
@Data
public class ProductOrder {
    private Integer proOrderId;

    private Integer ifcomment;

    /**
    * 总价
    */
    private Double total;

    /**
    * 状态
    */
    private Integer status;

    /**
    * 用户id
    */
    private Integer userId;

    /**
    * 收货地址
    */
    private String address;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date time;

    private String name;

    private String tel;
    //订单详情
    private List<ProductOrderDetail> orderDetailList;
}